import request from '@/utils/request'


export function listPost(data) {
	return request({
		'url': '/uni/postCtl/list',
		'method': 'get',
		data: data
	})
}
export function save(data) {
	return request({
		'url': '/uni/postCtl/save',
		method: "post",
		data: data
	})
}
export function getPostDetails(id) {
	return request({
		'url': '/uni/postCtl/getDetail/' + id,
		method: "get",
	})
}